package com.example.mapper;

import java.util.List;
import com.example.domain.WarrantyClaimDetail;
import org.apache.ibatis.annotations.Mapper;

/**
 * 单据跟踪1Mapper接口
 * 
 * @author whj
 * @date 2024-09-15
 */
@Mapper
public interface WarrantyClaimDetailMapper 
{
    /**
     * 查询单据跟踪1
     * 
     * @param id 单据跟踪1主键
     * @return 单据跟踪1
     */
    public WarrantyClaimDetail selectWarrantyClaimDetailById(Long id);

    /**
     * 查询单据跟踪1列表
     * 
     * @param warrantyClaimDetail 单据跟踪1
     * @return 单据跟踪1集合
     */
    public List<WarrantyClaimDetail> selectWarrantyClaimDetailList(WarrantyClaimDetail warrantyClaimDetail);

    /**
     * 新增单据跟踪1
     * 
     * @param warrantyClaimDetail 单据跟踪1
     * @return 结果
     */
    public int insertWarrantyClaimDetail(WarrantyClaimDetail warrantyClaimDetail);

    /**
     * 修改单据跟踪1
     * 
     * @param warrantyClaimDetail 单据跟踪1
     * @return 结果
     */
    public int updateWarrantyClaimDetail(WarrantyClaimDetail warrantyClaimDetail);

    /**
     * 删除单据跟踪1
     * 
     * @param id 单据跟踪1主键
     * @return 结果
     */
    public int deleteWarrantyClaimDetailById(Long id);

    /**
     * 批量删除单据跟踪1
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWarrantyClaimDetailByIds(Long[] ids);
}
